//
//  MoreViewController.m
//  quanminzhekou
//
//  Created by zxl on 15/1/7.
//  Copyright (c) 2015年 zhongqinglongtu. All rights reserved.
//

#import "MoreViewController.h"
#import "CategoryViewController.h"
#import "CustomTableViewController.h"

@interface MoreViewController ()

@end

@implementation MoreViewController

- (void)viewDidLoad {
    [super viewDidLoad];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

#pragma mark - IBAction
- (IBAction)onTapBack:(id)sender {
    [self.navigationController popViewControllerAnimated:YES];
}

- (IBAction)onTapCategoryBtns:(id)sender {
    CategoryViewController* controller = [self.storyboard instantiateViewControllerWithIdentifier:@"CategoryViewController"];
    controller.title = [sender valueForKey:@"str"];
    [self.navigationController pushViewController:controller animated:YES];
}

- (IBAction)onTapSpecialBtn:(id)sender {
    CustomTableViewController* controller = [self.storyboard instantiateViewControllerWithIdentifier:@"CustomTableViewController"];
    controller.title = [sender valueForKey:@"str"];
    controller.type = CustomTableViewControllerTypeNormal;
    [self.navigationController pushViewController:controller animated:YES];
}

@end
